* {
    padding: 0;
    margin: 0;

}
/* 版心=网页内容整体的宽度 所有大盒子基本都会调用 属于多类名调用 */
.w {
    width: 1200px;
    margin: auto;
}
/* 整个网页背景颜色 */
body {
    background-color: #f3f5f7;
   
}
/* 清除所有li元素左边的小圆点 */
li {
    list-style: none;
}
/* 清除网页所有a链接的下划线 */
a {
    text-decoration: none;
}
/* 25-37行清除浮动双伪代码使用方法:(给需要清除浮动的父元素添加类名即可例如li需要清楚浮动就给ul加清楚浮动代码即可) */
.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}
/* 1:头部区域开始 */
.header {
    height: 42px;
    background-color: #f3f5f7;
    /* 注意此地方会层叠掉w里的 margin */
    margin: 30px auto;
}

.logo {
    float: left;
    width: 198px;
    height: 42px;
    background-color: #f3f5f7;
}

.nav {
    float: left;
    margin-left: 60px;
}

.nav ul li {
    float: left;
    margin: 0 15px;
}

.nav ul li a {
    display: block;
    height: 42px;
    padding: 0px 10px;
    line-height: 42px;
    font-size: 18px;
    color: #050505;

}

.nav ul li a:hover {
    border-bottom: 1px solid #00a4ff;
    color: #00a4ff;
}

/* .search搜索模块 */
.search {
    float: left;
    width: 412px;
    height: 42px;
    background-color: #f3f5f7;
    margin-left: 70px;

}

.search input {
    float: left;
    width: 345px;
    height: 40px;
    border: 1px solid #00a4ff;
    border-right: 0px;
    color: #bfbfbf;
    font-size: 14px;
    padding-left: 15px;

}

.search button {
    float: left;
    width: 50px;
    height: 42px;
    /* 按钮button默认有边框需要我们手动去掉 */
    border: 0px;
    background: url(images/search.png)
}

.user {
    float: right;
    line-height: 42px;
    margin-right: 30px;
    font-size: 14px;
    color: #666;
}
/* 头部区域结束end */

/* 2：banner区域开始 */
.banner {
    height: 421px;
    background-color: #1c036c;
}

.banner .w {
    height: 421px;
    background: url(images/php.png) no-repeat top center;
}

.subnav {
    float: left;
    width: 190px;
    height: 421px;
    background: rgba(0, 0, 0, .3);
}

.subnav ul li {
    height: 45px;
    line-height: 45px;
    padding: 0px 20px;
}

.subnav ul li a {
    font-size: 14px;
    color: #ffffff;
}

.subnav ul li a span {
    float: right;
}

.subnav ul li a:hover {
    color: #00a4ff;
}

.course {
    float: right;
    width: 230px;
    height: 300px;
    /* 浮动的盒子不会有外边距合并的问题 */
    margin-top: 50px;
    background-color: #ffffff;
}

.course h2 {
    height: 48px;
    line-height: 48px;
    text-align: center;
    color: #ffffff;
    background-color: #9bceea;
}

.course .bd {
    padding: 0 20px;
}


.course .bd ul li {
    font-size: 16px;
    color: #4e4e4e;
    font-weight: 700;
    padding: 15px 0;
    border-bottom: 1px solid #cccccc;

}

.course .bd ul li p {
    font-size: 12px;
    color: #a5a5a5;
}

.course .bd .more {
    display: block;
    margin-top: 5px;
    width: 188px;
    height: 38px;
    line-height: 38px;
    font-size: 16px;
    color: #00a4ff;
    font-weight: 700;
    border: 1px solid #00a4ff;
    text-align: center;
}
/* banner区域end */



/* 3：goods区域开始 */
.goods {
    height: 60px;
    background-color: #ffffff;
    margin-top: 10px;
    box-shadow: 0 4px 3px 3px rgba(0, 0, 0, 0.1);
    /* 行高会继承 所以下面孩子不用写 */
    line-height: 60px;

}

.goods h3 {
    float: left;
    margin-left: 30px;
    font-size: 16px;
    color: #00a4ff;
}

.goods ul {
    float: left;
    margin-left: 30px;
}

.goods ul li {
    float: left;

}

.goods ul li a {
    padding: 0 30px;
    color: #050505;
    border-left: 1px solid #cccccc;


}

.mod {
    float: right;
    margin-right: 30px;
    font-size: 14px;
    color: #00a4ff;
}
/* goods精品推荐结束end */


/*4：核心推荐大模块开始 */
.box {
    margin-top: 30px;

}

.box-hd {
    height: 42px;
}

.box-hd h3 {
    float: left;
    font: 20px;
    color: #494949;

}

.box-hd a {
    float: right;
    font-size: 12px;
    color: #b6a5b6;
    margin: 10px 30px 0 0;
}

.box-bd ul {
    width: 1225px;
}

.box-bd ul>img {
    width: 100%;
}

.box-bd ul li {
    position: relative;
    float: left;
    width: 230px;
    height: 270px;
    background-color: #ffffff;
    margin-right: 13px;
    margin-bottom: 15px;
}
.box-bd ul li em {
    position: absolute;
    top: 4px;
    right: -4px;
}
.box-bd ul li h4 {
    font-size: 14px;
    font-weight: 400;
    color: #050505;
    padding: 25px 20px 0 20px;
}

.box-bd .info {
    padding: 20px 0px 0px 20px;
    font-size: 12px;
    color: #999999;

}

.box-bd ul li span {
    color: #ff7c2d;
}
 /* 核心推荐大模块结束 */


 /*5： 尾部开始 */
.footer {
    height: 413px;
    background-color: #ffffff;
}

.footer .w {
    padding-top: 33px;
}

.copyright {
    float: left;
}

.footer .copyright p {
    font-size: 12px;
    color: #666666;
    padding: 25px 0 15px 0;
}

.footer .copyright .app {
    display: block;
    width: 118px;
    height: 33px;
    border: 1px solid #00a4ff;
    text-align: center;
    line-height: 33px;
    font-size: 16px;
    color: #00a4ff;
}

.links {
    float: right;
}
.links dl {
    float: left;
     margin-left: 100px;
}

.links dt {
    padding-bottom: 5px;
    font-size: 16px;
    color: #333333;
}

.links a {
    font-size: 12px;
    color: #333333;
}
/* 尾部end */